package com.hyz.clients;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author HGD
 * @date 2022/9/27 14:40
 */
@FeignClient("server")
public interface ServerClient {
    @GetMapping("/server/hello")
    String hello();

    @PostMapping("/server/postHello")
    String postHello();
}
